package org.wisdom.s3.job.domain.entity;

import lombok.*;
import lombok.extern.slf4j.Slf4j;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 餐厅
 *
 * @author 张智研
 * @date 2023/11/27 15:36
 **/
@EqualsAndHashCode(callSuper = true)
@Table(name = "T_SYS_STORE_HIERARCHY")
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Slf4j
public class SysStoreHierarchy extends BasicBean implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    @Column(name="ID")
    private Long id;

    @Column(name="AM_AD")
    private String amAd;

    @Column(name="AM_AD_EID")
    private String amAdEid;

    @Column(name="AM_MAIL")
    private String amMail;

    @Column(name="AM_NAME_CN")
    private String amNameCn;

    @Column(name="ASSETREP_AD")
    private String assetrepAd;

    @Column(name="ASSETREP_AD_EID")
    private String assetrepAdEid;

    @Column(name="ASSETREP_MAIL")
    private String assetrepMail;

    @Column(name="ASSETREP_NAME_CN")
    private String assetrepNameCn;

    @Column(name="COMPANY_CODE")
    private String companyCode;

    @Column(name="DISABLED_FLAG")
    private Boolean disabledFlag;

    @Column(name="END_DATE")
    private String endDate;

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="INSERT_TIME")
    private Date insertTime;

    @Column(name="LONG_SITE_DESC")
    private String longSiteDesc;

    @Column(name="MAIN_SITE_NUMBER")
    private Integer mainSiteNumber;

    @Column(name="MANAGER_NAME")
    private String managerName;

    @Column(name="MARKET_DD")
    private String marketDd;

    @Column(name="OPEN_DATE")
    private String openDate;

    @Column(name="OWNERSHIP_EFFECTIVE_DATE")
    private String ownershipEffectiveDate;

    @Column(name="OWNERSHIP_TYPE")
    private String ownershipType;

    @Column(name="REGION_DD")
    private String regionDd;

    @Column(name="REREP_AD")
    private String rerepAd;

    @Column(name="REREP_MAIL")
    private String rerepMail;

    @Column(name="REREP_NAME_CN")
    private String rerepNameCn;

    @Column(name="RGM_EID")
    private String rgmEid;

    @Column(name="SHORT_SITE_DESC")
    private String shortSiteDesc;

    @Column(name="SITE_TYPE")
    private String siteType;

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="STORE_CLOSE_DATE")
    private Date storeCloseDate;

    @Column(name="STORE_NAME")
    private String storeName;

    @Column(name="STORE_NAME_CN")
    private String storeNameCn;

    @Column(name="STORE_NAME_EN")
    private String storeNameEn;

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="STORE_OPEN_DATE")
    private Date storeOpenDate;

    @Column(name="TELEPHONE")
    private String telephone;

    @Column(name="US_CODE")
    private String usCode;

    @Column(name="WORK_DATE")
    private String workDate;
}
